package com.wms.mapper;

import com.wms.entity.ResourceAuthority;

import java.util.List;

public interface ResourceAuthorityMapper extends IBaseMapper<ResourceAuthority> {
    Boolean exist(ResourceAuthority resourceAuthority);

    void deleteEntity(ResourceAuthority resourceAuthority);

    void deleteByAuthorityId(Long authorityId);

    void deleteByAuthorityIds(List<Long> authorityIds);

    List<Long> findAuthorityIdByResourceId(Long resourceId);
}
